﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Model
{
    /// <summary>
    /// 验证码信息
    /// </summary>
    public class Verifycode
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime TimeoutTime { get; set; }

        /// <summary>
        /// 用途
        /// 取自：UsageCode
        /// 1.注册
        /// 2.xx
        /// </summary>
        public int Usage { get; set; }
    }
}
